Adaptive system for deriving control signals from measurements of neuromuscular activity

ABSTRACT

Methods and apparatus for adapting a control mapping associating sensor signals with control signals for controlling an operation of a device. The method comprises obtaining first state information for an operation of the device, providing the first state information as input to an intention model associated with an operation of the device and obtaining corresponding first intention model output, providing a plurality of neuromuscular signals recorded from a user and/or signals derived from the neuromuscular signals as inputs to a first control mapping and obtaining corresponding first control mapping output, and updating the first control mapping using the inputs provided to the first control mapping and the first intention model output to obtain a second control mapping.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application claims the benefit under 35 U.S.C. § 119(e) of U.S. Provisional Patent Application Ser. No. 62/366,427, filed Jul. 25, 2016, and entitled “ADAPTIVE SYSTEM FOR DERIVING CONTROL SIGNALS FROM MEASUREMENTS OF MUSCLE OR MOTOR UNIT ACTIVITY,” the entire contents of which is incorporated by reference herein.

BACKGROUND

Techniques exist to control a computer system via a wireless myoelectric user interface. In one such approach, a user wears a band that is sized to fit around the user's forearm or wrist. The band includes myoelectric sensors arranged to detect hand and/or finger gestures by sensing the user's muscle activity. Typically, the wearable band includes processing capabilities to receive the sensed signals and to convert them into electronic control signals, which are then delivered (wirelessly or otherwise) to a device being controlled, such as computer, some other portable electronic device, an application executing on such a device, or the like.

Additionally, research studies investigating a brain-computer interface (BCI), also known as a brain-machine interface (BMI), a mind-machine interface (MMI) or a direct neural interface (DNI), have shown that a direct communication pathway is established between an enhanced or wired brain, and an external device. BCIs are often directed at researching, mapping, assisting, augmenting, or repairing human cognitive or sensory-motor functions.

SUMMARY

Some conventional brain control interfaces use signals directly recorded from cortical neurons in the brain to provide adaptive control of a device. Some embodiments are directed to providing enhanced adaptive control of a device without the use of a cortical interface. Rather, some embodiments are directed to a system for recording a continuous time series of neuromuscular signals using neuromuscular sensors. The neuromuscular signals are provided as the front-end to an adaptive control system to control a device. The neuromuscular signals may also be used in combination with information about how users typically control the device to train a statistical model for associating neuromuscular signals with intended control actions.

Controlling a device such as a game controller for a computer game typically requires a user to learn how interacting with different controls on the device results in a desired action in the computer game. How the user may interact with the device to perform a desired action is restricted based on how the device was programmed to translate user interactions with the device into control signals. For example, a joystick game controller for controlling the direction that a computer-generated image in a computer game moves on a display may be programmed to generate a first control signal when the user pushes the joystick to the right and a second control signal when the user pushes the joystick to the left. The corresponding control signals generated by the control device are provided to the computer to control the direction that the computer-generated image moves. The inventors have recognized and appreciated that existing control systems that require a user to learn the operation of the device are inflexible and generally cannot be tailored to how a user prefers to interact with the device. Some embodiments are directed to a technique for training a control system to translate user-specific body movements into control signals for controlling a device. Such embodiments provide for a highly-configurable control interface that enables different users to control devices according to their preferences and without restrictions placed on the control device by the device manufacturer.

Some embodiments are directed to an adaptive system for deriving control signals from measurements of muscle or motor unit activity. The system adapts a statistical model of user intention based on measurements of neuromuscular activity as the user controls a (e.g., a computer application or other effector). In some embodiments, the control signals are computed by a control mapping in real-time or substantially real-time as neuromuscular activity data is received from the plurality of sensors.

In some embodiments, a computer is programmed to execute one or more signal processing algorithms that map a time series of sensor signals to control signals that the computer provides as inputs to an effector (e.g., a user interface program). An intention model that models a user's intentions based on task-specific information is dynamically updated at the user performs the task to improve the control mapping from the sensor signals to the control signal. In some embodiments, the control mapping is adapted based on collected data by performing a regression or classification analysis with estimates of intended signals to map sensor signals to continuous or discrete inputs, respectively. In some embodiments, the resulting adaptive control mapping provides increased fidelity of control, reduced user effort required for equivalent control, and allow for adaptation to changes in a user's signaling behavior.

An adaptive control technique in accordance with some embodiments uses EMG or other neuromuscular signals as the source signal for control with adaptive feedback. The approach obviates invasive approaches that require direct neural interaction with cortical neurons. The relevant neural signals used for the adaptive control are synthetically constructed using the neuromuscular data, which provides for less costly and invasive processing. Further, the adaptive control approach described herein in accordance with some embodiments may be carried out in real-time due to the ease in switching between the recorded neuromuscular data and the synthesized neural data streams. The approach alters a conventional BCI paradigm by capturing signals used to force muscle contraction (e.g., EMG signals), and redirects those signals for an arbitrary adaptive control. The estimated control signal generated in accordance with some embodiments can be used to control any application or device that requires or otherwise benefits from continuous control.

Some embodiments are directed to techniques for controlling applications including, but not limited to, virtual reality, augmented reality, and mobile computing technology.

According to one aspect, a system for adapting a control mapping associating sensor signals with control signals for controlling an operation of a device is provided. The system comprises a plurality of sensors including a plurality of neuromuscular sensors arranged on one or more wearable devices, wherein the plurality of neuromuscular sensors are configured to continuously record neuromuscular signals from a user. The system further comprises at least one computer hardware processor and at least one non-transitory computer-readable storage medium storing processor-executable instructions that, when executed by the at least one computer hardware processor, cause the at least one computer hardware processor to perform: obtaining first state information for an operation of the device; providing the first state information as input to an intention model associated with the operation of the device and obtaining corresponding first intention model output; providing the neuromuscular signals and/or signals derived from the neuromuscular signals as inputs to a first control mapping and obtaining corresponding first control mapping output; and updating the first control mapping using the inputs to the first control mapping and the first intention model output to obtain a second control mapping.

According to another aspect, a method of adapting a control mapping associating sensor signals with control signals for controlling an operation of a device is provided. The method comprises obtaining a plurality of sensor signals from a plurality of sensors including a plurality of neuromuscular sensors arranged on one or more wearable devices, wherein the plurality of neuromuscular sensors are configured to continuously record neuromuscular signals from a user; obtaining first state information for an operation of a device; providing the first state information as input to an intention model associated with the operation of the device and obtaining corresponding first intention model output; providing the neuromuscular signals and/or signals derived from the neuromuscular signals as inputs to a first control mapping and obtaining corresponding first control mapping output; and updating the first control mapping using the inputs provided to the first control mapping and the first intention model output to obtain a second control mapping.

According to another aspect, a non-transitory computer-readable storage medium encoded with a plurality of instructions that, when executed by at least one computer hardware processor perform a method is provided. The method comprises: obtaining a plurality of sensor signals from a plurality of sensors including a plurality of neuromuscular sensors arranged on one or more wearable devices, wherein the plurality of neuromuscular sensors are configured to continuously record neuromuscular signals from a user; obtaining first state information for an operation of a device; providing the first state information as input to an intention model associated with the operation of the device and obtaining corresponding first intention model output; providing the neuromuscular signals and/or signals derived from the neuromuscular signals as inputs to a first control mapping and obtaining corresponding first control mapping output; and updating the first control mapping using the inputs provided to the first control mapping and the first intention model output to obtain a second control mapping.

It should be appreciated that all combinations of the foregoing concepts and additional concepts discussed in greater detail below (provided such concepts are not mutually inconsistent) are contemplated as being part of the inventive subject matter disclosed herein. In particular, all combinations of claimed subject matter appearing at the end of this disclosure are contemplated as being part of the inventive subject matter disclosed herein.

BRIEF DESCRIPTION OF THE DRAWINGS

Various non-limiting embodiments of the technology will be described with reference to the following figures. It should be appreciated that the figures are not necessarily drawn to scale.

FIG. 1 depicts a control process in accordance with some embodiments of the technology described herein;

FIG. 2 illustrates a process for controlling a device in accordance with some embodiments of the technology described herein;

FIG. 3 illustrates a process for updating a control mapping using autonomous sensor signals in accordance with some embodiments of the technology described herein;

FIG. 4 is a diagram of an illustrative computer system that may be used in implementing some embodiments of the technology described herein;

FIG. 5 is a diagram illustrating control mapping adaptation in accordance with some embodiments of the technology described herein;

FIG. 6 illustrates a wristband having EMG sensors arranged circumferentially thereon, in accordance with some embodiments of the technology described herein; and

FIG. 7 illustrates a user wearing the wristband of FIG. 6 while typing on a keyboard, in accordance with some embodiments of the technology described herein.

DETAILED DESCRIPTION

Some conventional brain machine interfaces record brain (e.g., cortical) signals and map the recorded brain signals to corresponding control signals for controlling a prosthetic limb resulting in an executed movement of the prosthetic device. Although such brain machine interface techniques are useful to enable patients to self-control prosthetic devices using a patient's own brain signals, implementing such techniques is quite invasive, as they require direct access to the cortical neurons in the brain to record the biological signals that are used to provide the control signals. The inventors have recognized and appreciated that conventional control interfaces may be improved by measuring biophysical signals corresponding to a user's movements using a plurality of sensors (e.g., EMG sensors) worn by a user, and mapping the movement information recorded by the sensors to control signals used to control a device.

FIG. 1 illustrates components of a system for mapping signals recorded from sensors 102 worn by user 101 to control signals that are subsequently provided to a user-interactive program (or, more generally, a user interface) in accordance with some embodiments. Sensors 102 are configured to record signals resulting from the movement of portions of a human body. Sensors 102 may include one or more Inertial Measurement Units (IMUs), which measure a combination of physical aspects of motion, using, for example, an accelerometer and a gyroscope. In some embodiments, IMUs may be used to sense information about the movement of the part of the body on which the IMU is attached and information derived from the sensed data (e.g., position and/or orientation information) may be tracked as the user moves over time. For example, one or more IMUs may be used to track movements of portions of a user's body proximal to the user's torso (e.g., arms, legs) as the user moves over time.

Sensors 102 may also include a plurality of neuromuscular sensors configured to record signals arising from neuromuscular activity in skeletal muscle of a human body. The term “neuromuscular activity” as used herein refers to neural activation of spinal motor neurons that innervate a muscle, muscle activation, muscle contraction, or any combination of the neural activation, muscle activation, and muscle contraction. Neuromuscular sensors may include one or more electromyography (EMG) sensors, one or more mechanomyography (MMG) sensors, one or more sonomyography (SMG) sensors, and/or one or more sensors of any suitable type that are configured to detect neuromuscular signals. In some embodiments, the plurality of neuromuscular sensors may be used to sense muscular activity related to a movement of the part of the body controlled by muscles from which the neuromuscular sensors are arranged to sense the muscle activity. Spatial information (e.g., position and/or orientation information) describing the movement (e.g., for portions of the user's body distal to the user's torso, such as hands and feet) may be predicted based on the sensed neuromuscular signals as the user moves over time.

In embodiments that include at least one IMU and a plurality of neuromuscular sensors, the IMU(s) and neuromuscular sensors may be arranged to detect movement of different parts of the human body. For example, the IMU(s) may be arranged to detect movements of one or more body segments proximal to the torso, whereas the neuromuscular sensors may be arranged to detect movements of one or more body segments distal to the torso. It should be appreciated, however, that sensors 102 may be arranged in any suitable way, and embodiments of the technology described herein are not limited based on the particular sensor arrangement. For example, in some embodiments, at least one IMU and a plurality of neuromuscular sensors may be co-located on a body segment to track movements of body segment using different types of measurements. In one implementation described in more detail below, a plurality of EMG sensors are arranged on a wearable device configured to be worn around the lower arm or wrist of a user. In such an arrangement, the EMG sensors may be configured to determine movement information associated with wrist or hand segments to determine, for example, whether the user has an open or closed hand configuration.

Each of sensors 102 include one or more movement sensing components configured to sense movement information. In the case of IMUs, the movement sensing components may include one or more accelerometers, gyroscopes, magnetometers, or any combination thereof to measure characteristics of body motion, examples of which include, but are not limited to, acceleration, angular velocity, and sensed magnetic field around the body. In the case of neuromuscular sensors, the movement sensing components may include, but are not limited to, electrodes configured to detect electric potentials on the surface of the body (e.g., for EMG sensors) vibration sensors configured to measure skin surface vibrations (e.g., for MMG sensors), and acoustic sensing components configured to measure ultrasound signals (e.g., for SMG sensors) arising from muscle activity.

In some embodiments, the output of one or more of the movement sensing components may be processed using hardware signal processing circuitry (e.g., to perform amplification, filtering, and/or rectification). In other embodiments, at least some signal processing of the output of the movement sensing components may be performed in software. Thus, signal processing of autonomous signals recorded by sensors 102 may be performed in hardware, software, or by any suitable combination of hardware and software, as aspects of the technology described herein are not limited in this respect.

In some embodiments, the recorded sensor data may be processed to compute additional derived measurements that are then used to control a device, as described in more detail below. For example, recorded signals from an IMU sensor may be processed to derive spatial information (e.g., orientation, position, estimated joint angle) that specifies the spatial position of a rigid body segment over time. Sensors 102 may implement signal processing using components integrated with the movement sensing components, or at least a portion of the signal processing may be performed by one or more components in communication with, but not directly integrated with the movement sensing components of the sensors.

In some embodiments, at least some of the plurality of sensors 102 are arranged as a portion of a wearable device configured to be worn on or around part of a user's body. For example, in one non-limiting example, an IMU sensor and a plurality of neuromuscular sensors are arranged circumferentially around an adjustable and/or elastic band such as a wristband or armband configured to be worn around a user's wrist or arm. Alternatively, at least some of the sensors may be arranged on a wearable patch configured to be affixed to a portion of the user's body.

In one implementation, 16 EMG sensors are arranged circumferentially around an elastic band configured to be worn around a user's lower arm. For example, FIG. 6 shows EMG sensors 604 arranged circumferentially around elastic band 602. It should be appreciated that any suitable number of neuromuscular sensors may be used and the number and arrangement of neuromuscular sensors used may depend on the particular application for which the wearable device is used. For example, a wearable armband or wristband may be used to generate control signals for controlling throwing a ball by an avatar in a computer-generated virtual reality environment, whereas a wearable leg or ankle band may be used to generate control signals for controlling kicking a ball by the avatar. For example, as shown in FIG. 7, a user 606 may be wearing elastic band 602 on hand 608. In this way, EMG sensors 604 may be configured to record EMG signals as a user controls keyboard 630 using fingers 640. In some embodiments, elastic band 602 may also include one or more IMUs (not shown), configured to record movement information, as discussed above.

In some embodiments, multiple wearable devices, each having one or more IMUs and/or neuromuscular sensors included thereon may be used to control a device.

The system also includes one or more computer processors 103 programmed to communicate with sensors 102. For example, signals recorded by one or more of the sensors 102 may be provided to processor(s) 103, which may be programmed to perform signal processing, non-limiting examples of which are described above. Although illustrated as software in FIG. 1, processor(s) 103 may be implemented in hardware, firmware, software, or any combination thereof. Additionally, processor(s) 103 may be co-located on a same wearable device as one or more of the sensors or may be at least partially located remotely (e.g., processing may occur on one or more network-connected processors).

The system also includes one or more non-transitory computer-readable storage devices in communication with processor(s) 103. The storage devices may be configured to store information describing one or more statistical models (e.g., an intention model), examples of which are described in more detail below.

In some embodiments, processor(s) 103 may be configured to communicate with one or more of sensors 102, for example to calibrate the sensors prior to measurement of movement information. For example, a wearable device may be positioned in different orientations on or around a part of a user's body and calibration may be performed to determine the orientation of the wearable device and/or to perform any other suitable calibration tasks. Calibration of sensors 102 may be performed in any suitable way, and embodiments are not limited in this respect. For example, in some embodiments, a user may be instructed to perform a particular sequence of movements and the recorded movement information may be matched to a template by virtually rotating and/or scaling the signals detected by the sensors (e.g., by the electrodes on EMG sensors). In some embodiments, calibration may involve changing the gain(s) of one or more analog to digital converters (ADCs), for example, in the case that the signals detected by the sensors result in saturation of the ADCs.

The system of FIG. 1 also includes one or more controllers configured receive a control signal based, at least in part, on processing by processor(s) 103. As shown, non-limiting examples of controller include, but are not limited to, a game controller 104, a computer 105 and a prosthetic device 106. As discussed in more detail below, processor(s) 103 may implement one or more trained statistical models configured to generate control signals determined based, at least in part, on signals recorded by sensors 102 worn by a user. One or more control signals determined based on the output of the trained statistical model(s) may be sent to the one or more controllers to control one or more operations of a device associated with the controller. In some embodiments, the controller(s) include a display controller configured to instruct a visual display to display a graphical representation (e.g., a bar on the screen, a graphical representation of the user's body or a graphical representation of a character (e.g., an avatar in a virtual reality environment)) based on the provided control signals. In other embodiments, the controller(s) include a controller of a physical device, such as a robot or prosthetic device. Control signals sent to the controller may be interpreted by the controller to operate one or more components of the robot to move in a manner that corresponds to the movements of the user as sensed using the sensors 102.

Any suitable controller, configured to control one or more physical or virtual devices, may be used in accordance with embodiments of the technology described herein. Non-limiting examples of physical devices that may be controlled include consumer electronics devices (e.g., television, smartphone, computer, laptop, telephone, video camera, photo camera, video game system, appliance, etc.), vehicles (e.g., car, marine vessel, manned aircraft, unmanned aircraft, farm machinery, etc.), robots, weapons, or any other device that may receive control signals from processor(s) 103.

Non-limiting examples of applications of some embodiments of the techniques described herein include menu navigation, buttons, dials, levers, selection of items, typing without a physical keyboard or keypad in either a desktop or mobile setting, cut/paste operations for document editing, cursor control, scrolling and volume control. Non-limiting examples of applications further include mechanisms for controlling non-visual user interfaces, such as auditory or tactile menus or games. Non-limiting examples of applications also include systems for controlling a prosthetic limb, systems for facilitating gestural communication between people, and manipulation of higher dimensional data, such as three-dimensional and rotational data. Non-limiting examples of applications still further include wake and unlock gestures for phones and computers, biometric codes and keys, and home appliance controls.

As a user interacts with the user-interactive program or other controlled device, sensor data is collected by sensors. The collected sensor data and the user's interaction with the device enables the system to learn how to modify the mapping between the recorded sensor signal and control signals sent to the controllers. In this way, the signals recorded by the wearable sensors is used to both control a device and facilitate learning by the control system to map the user's body movements to intended actions.

FIG. 2 describes a process 200 for providing control signals to a control device (e.g., a controller of a computer application) based on neuromuscular signals (e.g., EMG signals, MMG signals, SMG signals). The terms “effector” and “control device” are used interchangeably herein, and both terms refer to an entity that is being controlled by the control signals output from a control mapping, as discussed in more detail below. Although process 200 is described herein with respect to EMG signals, it should be appreciated that process 200 may be used to provide control signals based on EMG signals, MMG signals, SMG signals, or any suitable combination thereof, or based on neuromuscular signals in combination with additional sensor signals (e.g. data from inertial measurement units).

Process 200 may be executed by any suitable computing device(s), as aspects of the technology described herein are not limited in this respect. For example, process 200 may be executed by processors 103 described with reference to FIG. 1. As another example, one or more acts of process 200 may be executed using one or more servers (e.g., servers part of a cloud computing environment). Process 200 begins at act 210, where a plurality of autonomous signals are obtained from a plurality of sensors (e.g., EMG sensors) worn by a user.

In some embodiments, the signals obtained at act 210 are pre-processed in act 220 using amplification, filtering, rectification or other types of signal processing. In some embodiments, the filtering may comprise temporal filtering implemented using convolution operations and/or equivalent operations in the frequency domain (e.g., after the application of a discrete Fourier transform). In some embodiments, the pre-processing may comprise dimensionality reduction (e.g. non-negative matrix factorization (NMF), principal component analysis (PCA), independent component analysis (ICA)), estimation of derived muscle activity signals, spike sorting, spectral decomposition, estimation of derived features (e.g., joint angles) and/or other forms of feature extraction. The result of this preprocessing is set of derived signals from which to compute control signals.

The inventors have appreciated that using EMG signals recorded from a user obviates the cortical interface required in some conventional machine control interfaces in effect by re-purposing the EMG data for adaptive control, in particular by generating a set of derived signaling that synthesizes neural data streams from the recorded EMG data. In some embodiments, the neuromuscular signals that are otherwise used by the body to move one or more muscles or muscle groups are collected (e.g., using a wearable sensor array) and re-purposed for arbitrary adaptive control of a device (e.g., a computer programmed to present a user interactive application).

Next, process 200 proceeds to act 230, where a control mapping is applied to the processed sensor signals to map the sensor signals to control signals. In some embodiments, the control mapping maps a time series of one or more processed sensor signals to one or more control signals. In some embodiments, this mapping acts on sensor signal data from a single time point to produce corresponding sensor control signals for that time point. In some embodiments, the output of the control mapping may depend on input signals from multiple time points, non-limiting examples of which include stateful mappings (e.g., a Kalman filter or recurrent network) and mappings acting on inputs at multiple time lags (e.g. temporal convolutions).

In some embodiments, the control mapping is a linear mapping represented by a matrix with number of rows equal to the number of control signals and number of columns equal to the number of processed sensor signals, such that the control signals are computed by multiplying the processed sensor signals processed in act 220 by this matrix. It should be appreciated, however, that the control mapping is not limited to being a linear mapping and may be of any other suitable form. For example, in some embodiments the control mapping may be a generalized linear model, neural network, recurrent neural network, convolutional network, finite state machine, Kalman filter, dynamical system, hidden Markov model, Markov switching model, dynamic Bayesian network, and/or any other suitable computational mapping.

Next, process 200 proceeds to act 240, where the computed control signals are transmitted to an effector. Non-limiting examples of effectors include a computer game, computer program, prosthetic limb, robot, or vehicle. Non-limiting examples of tasks include a playing a computer game, entering text into a computer application, moving a cursor to a desired location, picking up an object with a prosthetic arm, or driving a vehicle.

FIG. 3 illustrates a process 300 for adapting a control mapping in accordance with some embodiments. Although process 300 is described herein with respect to EMG signals, it should be appreciated that process 300 may be used to adapt a control mapping taking as input any recorded neuromuscular signals including, but not limited to, EMG signals, MMG signals, SMG signals, or any combination of EMG signals, MMG signals, and SMG signals. Additionally, in some embodiments, other signals (e.g., signals recorded by IMUs, signals derived from IMU measurements) may be used to adapt the control mapping.

Process 300 begins in act 302, where signals recorded by a plurality of sensors are obtained. Examples of obtaining sensor signals are described above in connection with the process of FIG. 2. The process 300 then proceeds to act 304, where the system obtains data containing information about the state of a task with which a user is engaged by using the effector to which control signals are transmitted in act 240. In some embodiments, the state of the task is determined in combination with other control signals. The information about the state of the task (also referred to herein as “task information”) may be determined in any suitable way. In some embodiments, additional sensors may be used for obtaining task information. For example, in the illustrative case of a user manipulating an object with a prosthetic limb, cameras and/or position sensors may be used to obtain task information such as the relative positions of the prosthetic limb and the object being manipulated. In some embodiments, for example in the case of a computer-based task, information about the state of the task may be obtained using an application programming interface (API) and/or screen capture. In some embodiments, data containing information about the state of the task undergoes processing (e.g. image segmentation and or other image processing).

Process 300 next proceeds to act 306, where one or more control signals are estimated based on the obtained sensor signals and the obtained task information describing a state of the task. Some embodiments are configured to implement a statistical intention model that predicts the user's intended control signals. Inputs to the intention model include, but are not limited to, information about the state of the task obtained by the system in act 304. In some embodiments, the acquired neuromuscular signals, the control mapping, the control signals output from the control mapping, or any combination thereof may also be provided as input to the intention model.

In some embodiments, the intention model is a task-specific model of user behavior. The task-specific model may be implemented as a statistical model constructed based on heuristic or intuitive approximation of user behavior within the context of the task. A non-limiting illustrative example of such an intention model is provided in the case that the task is the computer game Pong, in which the user controls the one-dimensional velocity of a paddle to intercept the trajectory of a ball. In this example, the intention model takes as input the position of the user-control paddle and the position and velocity of the ball and provides as output an estimate of the velocity control signal that the user intends to provide to the paddle. According to one non-limiting intention model, the intended paddle velocity is proportional to the distance from the paddle's current position to the target position to which the paddle must be moved to intercept the trajectory of the ball, e.g., intended_velocity=proportionality_constant*(target_position−position_paddle).

In some embodiments, the intention model may be configured to continuously provide estimates of the user's intended control signals, whereas in other embodiments, the intention model may be configured to provide estimates only at specific times. For example, in the illustrative example of Pong, the intention model would, in some embodiments, output estimates for the user's intended control signals only at times at which the ball moves toward the line along which the user's paddle could move, and not providing estimates at times during which the ball moves away from this line.

In some embodiments, the intention model is configured to compute its estimate of the user's intention at each time point based on inputs corresponding to times no later than that of the user's estimated intention. The aforementioned illustrative example of an intention model for the computer game Pong provides an example of such an embodiment in which the user's intention at a given time is estimated based upon the state of the task at that same time. In this example, the intention model is configured to estimate the user's intended control signals substantively in real time.

In some other embodiments, the intention model computes estimates of the user's intention based upon inputs corresponding to times that include, but are not limited to, times later than the time for which the user's intention is being estimated. A non-limiting illustrative example of an intention model using inputs corresponding to later times to estimate the user's intended control signals at an earlier time is provided herein within the context of a task in which a user controls a cursor to navigate to and click on an icon from a selection of possible choices presented on a computer screen. According to some non-limiting implementations of an intention model for such as task, the intention model may not output estimates of the user's intended cursor velocity until the user clicks on one of the icons. Following the user's selection of the icon, the intention model is configured to estimate the user's intended cursor velocity control signal at an earlier time to be in the direction of a vector pointing from the cursor position at the time for which the intention is being estimated to the cursor position at the time when the user clicked on the icon.

In some embodiments, the intention model is a trained statistical model. In some embodiments, the outputs of the intention model are point estimates (e.g. maximum likelihood estimates) of the user's intended control signals. In some embodiments, the outputs of the intention model are probability distributions over possible values of the user's intended control signals. For example, the intention model may output probabilities of discrete control signals or parameters for distributions (e.g. mean and variance of the Gaussian distribution) over continuously valued control signals.

In some embodiments, the statistical model may be a neural network and, for example, may be a recurrent neural network. In some embodiments, the recurrent neural network may be a long short-term memory (LSTM) neural network. It should be appreciated, however, that the recurrent neural network is not limited to being an LSTM neural network and may have any other suitable architecture. For example, in some embodiments, the recurrent neural network may be a fully recurrent neural network, a recursive neural network, a Hopfield neural network, an associative memory neural network, an Elman neural network, a Jordan neural network, an echo state neural network, a second order recurrent neural network, and/or any other suitable type of recurrent neural network. In other embodiments, neural networks that are not recurrent neural networks may be used. For example, deep neural networks, convolutional neural networks, and/or feedforward neural networks, may be used.

It should be appreciated that aspects of the technology described herein are not limited to using neural networks, as other types of statistical models may be employed in some embodiments. For example, in some embodiments, the statistical model may comprise a generalized linear model, a hidden Markov model, a Markov switching model, dynamic Bayesian networks, and/or any other suitable graphical model having a temporal component.

In some embodiments, values for parameters of the statistical model may be estimated from the training data generated as one or more users perform one or more tasks. For example, when the statistical model is a neural network, parameters of the neural network (e.g., weights) may be estimated from the training data. In some embodiments, parameters of the statistical model may be estimated using gradient descent, stochastic gradient descent, and/or any other suitable iterative optimization technique. In embodiments where the statistical model is a recurrent neural network (e.g., an LSTM), the statistical model may be trained using stochastic gradient descent and backpropagation through time. The training may employ a mean-squared error loss function (e.g. in the case of continuous control signals), a cross-entropy loss function (e.g. in the case of discrete control signals) and/or any other suitable loss function, as aspects of the technology described herein are not limited in this respect.

In some embodiments, the statistical model may be trained with training data generated as one or more users performs one or more tasks. The training data may include data generated as one or more users performs one or more tasks using, at least in part, the control process 200, using one or more control systems independent of process 200 (e.g. controlling a computer game using a keyboard and/or mouse), as the invention is not limited by the method for generating and parameterizing the intention model.

In some embodiments, the intention model may be parameterized without the use of training data. As a non-limiting example, some embodiments may include an intention model based upon a control policy with parameters computed using dynamic programming or learned through reinforcement learning. In some embodiments, training data for the intention model may combine data generated as one or more human users performs one or more tasks with data generated computationally from a task simulation with a computational control policy.

In some embodiments, one or more of the user's intended control signals, the recorded neuromuscular signals, information derived from the neuromuscular signals (e.g., orientation, estimated joint angles), the processed (e.g., filtered, amplified, rectified) neuromuscular signals, information associated with sufficient statistics for characterizing the neuromuscular signals, inputs to and/or outputs from the intention model, and inputs to and/or outputs from the control mapping may be stored on one or more non-transitory computer readable mediums in communication with processor(s) 103.

Process 300 next proceeds to act 308, where estimates of the user's intended control signals and processed neuromuscular signals are aggregated to produce training data for adapting the control mapping. The obtained data may be combined and further processed in any suitable way. In some embodiments, at least some of the data may be resampled (e.g., up-sampled or down-sampled) such that all training data corresponds to time series data at the same time resolution. Resampling at least some of the data may be performed in any suitable way including, but not limited to using interpolation for upsampling and using decimation for downsampling.

In addition to or as an alternative to resampling at least some of the sensor data when recorded at different sampling rates, some embodiments employ a statistical model configured to accept multiple inputs asynchronously. For example, the statistical model may be configured to model the distribution of the “missing” values in the input data having a lower sampling rate. Alternatively, the timing of training of the statistical model occur asynchronously as input from multiple sensor data measurements becomes available as training data.

The control mapping is then updated using the training data. Updating of the control mapping may occur substantively in real time as a user performs the task in accordance with process 200, may occur intermittently as the user performs the task, may occur off-line between uses of process 200 to control the task, and/or may occur according to any suitable schedule or combination of schedules as the invention is not limited with respect to the timing and frequency at which the control mapping is updated. The updated control mapping is then used it act 230 of process 200.

FIG. 5 depicts a method in accordance with some embodiments, in which the control mapping between recorded autonomous signals and control signals is a linear filter that is updated using the recursive least squares (RLS) algorithm. The terms “control mapping” and “control model” are used herein interchangeably, and both mean the mapping from sensor signals to control signals that is adapted using one or more of the techniques described herein. As depicted, the parameters of the control model may be implemented as variable filter coefficients 500, and the update algorithm 502 may comprise an RLS algorithm, examples of which are known in the art. The derived (e.g., preprocessed) signal at time (n) 504 is provided to variable filter 500, which outputs a control signal {circumflex over (d)} (n) at time (n) 506, as computed by the control model. Element 508 receives control signal {circumflex over (d)} (n), together with the estimated intention e(n) at time (n) 510, as predicted by the intention model 505 based on the state of the task, as described above. The update algorithm 502 uses the derived signal 504 and an error 512 between signals 506 and 508 to compute an update 514 to the parameters of the control model (i.e., an update to the control mapping).

It should be appreciated that aspects of the technology described herein are not limited to using an RLS algorithm, as other types of learning and/or optimization algorithms may additionally or alternatively be employed. For example, in some embodiments, the control mapping may be updated using expectation maximization, gradient descent, stochastic gradient descent, and/or any other suitable iterative optimization technique. In embodiments where the control mapping is implemented as a recurrent neural network (e.g., an LSTM), the statistical model may be updated using stochastic gradient descent and backpropagation through time. The updating algorithm may employ a mean-squared error loss function (e.g. in the case of continuous control signals), a cross-entropy loss function (e.g. in the case of discrete control signals) and/or any other suitable loss function, as aspects of the technology described herein are not limited in this respect.

In some embodiments, a control mapping adapted in the context of one task may be used for control of one or more additional tasks. As an illustrative example, a control mapping may first be adapted in the context of a task in which the user controls a cursor to select an icon on a computer screen. Later, the same control mapping may be used to control an operation of a physical or virtual vehicle, for example by mapping the control signal for the vertical movement of the cursor to the acceleration and/or braking of the vehicle and the control signal for the horizontal movement of the cursor to the steering of the vehicle. The control mapping may or may not continue to be adapted in the context of the additional tasks, as aspects of some embodiments are not limited in this respect.

An illustrative implementation of a computer system 400 that may be used in connection with any of the embodiments of the disclosure provided herein is shown in FIG. 4. The computer system 400 may include one or more processors 410 and one or more articles of manufacture that comprise non-transitory computer-readable storage media (e.g., memory 420 and one or more non-volatile storage media 430). The processor 410 may control writing data to and reading data from the memory 420 and the non-volatile storage device 430 in any suitable manner. To perform any of the functionality described herein, the processor 410 may execute one or more processor-executable instructions stored in one or more non-transitory computer-readable storage media (e.g., the memory 420), which may serve as non-transitory computer-readable storage media storing processor-executable instructions for execution by the processor 410.

The terms “program” or “software” are used herein in a generic sense to refer to any type of computer code or set of processor-executable instructions that can be employed to program a computer or other processor to implement various aspects of embodiments as discussed above. Additionally, it should be appreciated that according to one aspect, one or more computer programs that when executed perform methods of the disclosure provided herein need not reside on a single computer or processor, but may be distributed in a modular fashion among different computers or processors to implement various aspects of the disclosure provided herein.

Processor-executable instructions may be in many forms, such as program modules, executed by one or more computers or other devices. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. Typically, the functionality of the program modules may be combined or distributed as desired in various embodiments.

Also, data structures may be stored in one or more non-transitory computer-readable storage media in any suitable form. For simplicity of illustration, data structures may be shown to have fields that are related through location in the data structure. Such relationships may likewise be achieved by assigning storage for the fields with locations in a non-transitory computer-readable medium that convey relationship between the fields. However, any suitable mechanism may be used to establish relationships among information in fields of a data structure, including through the use of pointers, tags or other mechanisms that establish relationships among data elements.

Also, various inventive concepts may be embodied as one or more processes, of which examples (e.g., the processes described with reference to FIGS. 2 and 3) have been provided. The acts performed as part of each process may be ordered in any suitable way. Accordingly, embodiments may be constructed in which acts are performed in an order different than illustrated, which may include performing some acts simultaneously, even though shown as sequential acts in illustrative embodiments.

All definitions, as defined and used herein, should be understood to control over dictionary definitions, and/or ordinary meanings of the defined terms.

As used herein in the specification and in the claims, the phrase “at least one,” in reference to a list of one or more elements, should be understood to mean at least one element selected from any one or more of the elements in the list of elements, but not necessarily including at least one of each and every element specifically listed within the list of elements and not excluding any combinations of elements in the list of elements. This definition also allows that elements may optionally be present other than the elements specifically identified within the list of elements to which the phrase “at least one” refers, whether related or unrelated to those elements specifically identified. Thus, as a non-limiting example, “at least one of A and B” (or, equivalently, “at least one of A or B,” or, equivalently “at least one of A and/or B”) can refer, in one embodiment, to at least one, optionally including more than one, A, with no B present (and optionally including elements other than B); in another embodiment, to at least one, optionally including more than one, B, with no A present (and optionally including elements other than A); in yet another embodiment, to at least one, optionally including more than one, A, and at least one, optionally including more than one, B (and optionally including other elements); etc.

The phrase “and/or,” as used herein in the specification and in the claims, should be understood to mean “either or both” of the elements so conjoined, i.e., elements that are conjunctively present in some cases and disjunctively present in other cases. Multiple elements listed with “and/or” should be construed in the same fashion, i.e., “one or more” of the elements so conjoined. Other elements may optionally be present other than the elements specifically identified by the “and/or” clause, whether related or unrelated to those elements specifically identified. Thus, as a non-limiting example, a reference to “A and/or B”, when used in conjunction with open-ended language such as “comprising” can refer, in one embodiment, to A only (optionally including elements other than B); in another embodiment, to B only (optionally including elements other than A); in yet another embodiment, to both A and B (optionally including other elements); etc.

Use of ordinal terms such as “first,” “second,” “third,” etc., in the claims to modify a claim element does not by itself connote any priority, precedence, or order of one claim element over another or the temporal order in which acts of a method are performed. Such terms are used merely as labels to distinguish one claim element having a certain name from another element having a same name (but for use of the ordinal term).

The phraseology and terminology used herein is for the purpose of description and should not be regarded as limiting. The use of “including,” “comprising,” “having,” “containing”, “involving”, and variations thereof, is meant to encompass the items listed thereafter and additional items.

Having described several embodiments of the techniques described herein in detail, various modifications, and improvements will readily occur to those skilled in the art. Such modifications and improvements are intended to be within the spirit and scope of the disclosure. Accordingly, the foregoing description is by way of example only, and is not intended as limiting. The techniques are limited only as defined by the following claims and the equivalents thereto. 

What is claimed is:
 1. A system for adapting a control mapping associating sensor signals with control signals for controlling an operation of a device, the system comprising: a plurality of sensors including a plurality of neuromuscular sensors arranged on one or more wearable components, wherein the plurality of neuromuscular sensors are configured to continuously record neuromuscular signals from a user; at least one computer hardware processor; at least one non-transitory computer-readable storage medium storing processor-executable instructions that, when executed by the at least one computer hardware processor, cause the at least one computer hardware processor to perform: obtaining first state information for an operation of the device, wherein the first state information includes information relating to the state of a task; providing the first state information as input to an intention model associated with the operation of the device and obtaining a first intention model output including an estimate of an intended control signal; providing the neuromuscular signals and/or signals derived from the neuromuscular signals as inputs to a first control mapping and obtaining a first control mapping output; comparing the first control mapping output with the estimate of the intended control signal; updating the first control mapping using the inputs to the first control mapping and the first intention model output to obtain a second control mapping, and controlling the device using a control signal based on the second control mapping.
 2. The system of claim 1, wherein the processor-executable instructions that, when executed by the at least one computer hardware processor, cause the at least one computer hardware processor to perform: obtaining a new set of neuromuscular signals from the plurality of neuromuscular sensors; providing the new set of neuromuscular signals and/or signals derived from the new set of neuromuscular signals as inputs to the second control mapping to obtain a second control mapping output; comparing the the second control mapping output with a second estimate of the intended control signal, and determining a third control mapping; and controlling the device using the third control mapping.
 3. The system of claim 1, wherein the processor-executable instructions that, when executed by the at least one computer hardware processor, cause the at least one computer hardware processor to perform: obtaining second state information for an at least one user-interactive application; providing the second state information as input to the intention model associated with the operation of the device and obtaining a second intention model output; and updating the second control mapping using the inputs provided to the second control mapping and the second intention model output to obtain a third control mapping.
 4. The system of claim 1, wherein updating the first control mapping using the inputs provided to the first control mapping and the first intention model output to obtain the second control mapping is performed using a recursive least squares (RLS) technique.
 5. The system of claim 4, wherein the RLS technique is configured to fit a linear model that predicts velocity control signals indicating the user's control intentions from the neuromuscular signals.
 6. The system of claim 1, wherein the intention model is a trained statistical model implemented as a recurrent neural network.
 7. The system of claim 6, wherein the recurrent neural network is a long short-term memory (LSTM) neural network.
 8. The system of claim 1, wherein the intention model is trained statistical model implemented as a non-linear regression model.
 9. The system of claim 1, wherein the neuromuscular sensors comprise electromyography (EMG) sensors, mechanomyography (MMG) sensors, sonomyography (SMG) sensors, or a combination of EMG, MMG and SMG sensors.
 10. The system of claim 1, wherein the one or more wearable components consists of a single wearable component, and wherein all of the plurality of sensors are arranged on the single wearable component configured to be worn on or around a body part of the user.
 11. The system of claim 1, wherein at least one of the one or more wearable components comprises a flexible or elastic band configured to be worn around a body part of the user.
 12. The system of claim 11, wherein the flexible or elastic band comprises an armband configured to be worn around an arm of the user.
 13. The system of claim 1, wherein the plurality of sensors further includes at least one Inertial Measurement Unit (IMU) sensor configured to continuously record IMU signals, wherein the processor-executable instructions, when executed by the at least one computer hardware processor, cause the at least one computer hardware processor to perform: providing the IMU signals and/or information based on the IMU signals as inputs to the first control mapping.
 14. The system of claim 13, wherein the at least one IMU sensor and the plurality of neuromuscular sensors are arranged on a same wearable component.
 15. The system of claim 1, wherein updating the first control mapping further comprises updating the first control mapping using the first control mapping output.
 16. The system of claim 1, wherein the intention model is generated based on heuristic or intuitive approximation of user interactions with the device or observed user interactions by one or more users with the device.
 17. The system of claim 1, wherein the device comprises a computer executing a user-interactive application, and wherein the operation of the device comprises an operation of the user-interactive application.
 18. The system of claim 1, wherein the processor-executable instructions that, when executed by the at least one computer hardware processor, cause the at least one computer hardware processor to perform: controlling the device using the second control mapping.
 19. A method of adapting a control mapping associating sensor signals with control signals for controlling an operation of a device, the method comprises; obtaining a plurality of sensor signals from a plurality of sensors including a plurality of neuromuscular sensors arranged on one or more wearable components, wherein the plurality of neuromuscular sensors are configured to continuously record neuromuscular signals from a user; obtaining first state information for an operation of the device, wherein the first state information includes information relating to the state of a task; providing the first state information as input to an intention model associated with the operation of the device and obtaining a first intention model output including an estimate of an intended control signal; providing the neuromuscular signals and/or signals derived from the neuromuscular signals as inputs to a first control mapping and obtaining a first control mapping output; updating the first control mapping using the inputs provided to the first control mapping and the first intention model output to obtain a second control mapping, wherein the second control mapping is based at least in part on a comparison between the first control mapping output and the first intention model output, and controlling the device using a control signal based on the second control mapping.
 20. A non-transitory computer-readable storage medium encoded with a plurality of instructions that, when executed by at least one computer hardware processor perform a method comprising: obtaining a plurality of sensor signals from a plurality of sensors including a plurality of neuromuscular sensors arranged on one or more wearable components, wherein the plurality of neuromuscular sensors are configured to continuously record neuromuscular signals from a user; obtaining first state information for an operation of a device, wherein the first state information includes information relating to the state of a task; providing the first state information as input to an intention model associated with the operation of the device and obtaining a first intention model output including an estimate of an intended control signal; providing the neuromuscular signals and/or signals derived from the neuromuscular signals as inputs to a first control mapping and obtaining a first control mapping output; updating the first control mapping using the inputs provided to the first control mapping and the first intention model output to obtain a second control mapping, and controlling the device using a control signal based on the second control mapping. 